import java.math.BigDecimal;

public abstract class Capital {
    BigDecimal loanMoney = null;//贷款本金
    BigDecimal yearRate = null;//年利率
    int totalMonth = 0;//总还款月
    BigDecimal monthTotalPayment = null;//月供总额
    BigDecimal monthPrinciple = null;//月供本金
    BigDecimal monthInterest = null;//月供利息
    BigDecimal totalInterest = null;//总利息

    public Capital() {
    }

    public abstract void calculate();
}
